package tau_sadna.tau_map;

import java.util.List;


public class LayerItem {
	public final String en;
    public final String he;
    public Double lat;
    public Double lon;
    public String extra_data_en;
    public String extra_data_he;
    public List<String> other_names;
    public String extra_data_pic;

    public LayerItem(String en, String he, Double lon, Double lat, String extra_data_en,String extra_data_he, List<String> other_names,String pic_name) {
        this.en = en;
        this.he = he;
        this.lon = lon;
        this.lat = lat;
        this.extra_data_he = extra_data_he;
        this.extra_data_en = extra_data_en;
        this.other_names = other_names;
        this.extra_data_pic = pic_name;
        
    }
    
    public LayerItem(String en, String he, Double lon, Double lat, String extra_data_en,String extra_data_he, List<String> other_names){
    	this(en, he, lon, lat, extra_data_en,extra_data_he, other_names,null);
    }
    
    
    public MLString getName() {
		return new MLString(this.en,this.he);
	}
    public MLString extra_data() {
		return new MLString(this.extra_data_en,this.extra_data_he);
	}
}


